<?php include ('classes/page.class1.php');
include ('functions/le-format.php');
include ('functions/convert-characters.php');
$wer = new Page;
$filename = "textfiles/wer.txt";
$cat = "cat1";
if (file_exists($filename)) { 
	//$file_contents = file_get_contents($filename); //mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
	$file_contents = get_image_stuff($filename); 
	
	$file_contents = autop($file_contents, 0);
	$file_contents = convert_chars($file_contents, 0);
	$output = $file_contents;
} else { 
	$output = "<p>No content. The associated text file could not be found.</p>";
} 
$wer->Title = "wer";
$wer->MetaDescription = "wer";
$wer->MetaKeywords = "wer";
$wer->ThisPage = "wer";
$wer->SetContent($output);
$wer->Template();
?>
